package com.peakmain.wanandroid.netmodule.net.http.download.task;

/**
 * author ：Peakmain
 * version : 1.0
 * createTime：2020/2/22
 * mail:2726449200@qq.com
 * describe：Runnable对象的优先级封装
 */
public class PriorityRunnable extends PriorityObject<Runnable> implements Runnable{

    public PriorityRunnable(int priority, Runnable obj) {
        super(priority, obj);
    }

    @Override
    public void run() {
        this.obj.run();
    }
}
